←Select platform

RemapHueCommand Constructor(int[],int[],int[],int[],int)

Summary

Initializes a new RemapHueCommand class object with explicit parameters.

Syntax
C#
VB
Objective-C
C++
Java
public RemapHueCommand( 
   int[] mask, 
   int[] hueTable, 
   int[] saturationTable, 
   int[] valueTable, 
   int lookUpTableLength 
) 
Public Function New( _ 
   ByVal mask() As Integer, _ 
   ByVal hueTable() As Integer, _ 
   ByVal saturationTable() As Integer, _ 
   ByVal valueTable() As Integer, _ 
   ByVal lookUpTableLength As Integer _ 
) 
- (instancetype)initWithMask:(nullable const unsigned int *)mask 
                    hueTable:(nullable const unsigned int *)hueTable 
             saturationTable:(nullable const unsigned int *)saturationTable 
                  valueTable:(nullable const unsigned int *)valueTable 
           lookUpTableLength:(NSUInteger)lookUpTableLength 
public RemapHueCommand( 
   int[] mask,  
   int[] hueTable,  
   int[] saturationTable,  
   int[] valueTable,  
   int lookUpTableLength 
) 
public: 
RemapHueCommand(  
   array<int>^ mask, 
   array<int>^ hueTable, 
   array<int>^ saturationTable, 
   array<int>^ valueTable, 
   int lookUpTableLength 
) 

Parameters

mask
Lookup table that identifies which values in the hueTable, saturationTable and valueTable are valid. If Mask[i] is non-zero, then hueTable, saturationTable and valueTable are to be used. If Mask[i] is 0 then hueTable, saturationTable and valueTable are ignored. If Mask is null, all entries in the hueTable, saturationTable and valueTable are used.

hueTable
Hue look up table. If the Mask table value for a particular pixel hue is non-zero, then the hue is changed to the corresponding entry in hueTable. For example, if a pixel value has a hue of 85 and Mask[85] is non-zero, the hue is changed to hueTable[85]. If hueTable is null, the hue of each pixel is unchanged.

saturationTable
Saturation look up table. If the Mask table value for a particular pixel hue is non-zero, then the saturation is changed to the corresponding entry in saturationTable. For example, if a pixel value has a hue of 85 and Mask[85] is non-zero, the saturation is changed to saturationTable[85]. If hueTable is null, the saturation is changed to saturationTable[85]. If saturationTable is null, the saturation of each pixel is unchanged.

valueTable
Value look up table. If the Mask table value for a particular pixel hue is non-zero, then the value is changed to the corresponding entry in valueTable. For example, if a pixel value has a hue of 85 and Mask[85] is non-zero, the value is changed to valueTable[85]. If hueTable is null, the value is changed to ValueTable[85]. If valueTable is null, the value of each pixel is unchanged.

lookUpTableLength
Length of the lookup table. Possible values are 65536 for 16-bit image, 4096 for 12-bit image, 256 for 8-bit image

Example

Refer to RemapHueCommand.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly